n, m, a, b = map(int, input().split())
ju = [list(map(int, input().split())) for _ in range(n)]
